<div class="admin_left actions">
	<h3 style="font-size:20px;">Manage more</h3>
	<ul>

		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Purchase.id')),array('class' => 'consistentButton2'), null, __('Are you sure you want to delete # %s?', $this->Form->value('Purchase.id'))); ?></li>
		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Purchases'), array('action' => 'index'),array('class' => 'consistentButton2')); ?></li>
		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Items'), array('controller' => 'items', 'action' => 'index'),array('class' => 'consistentButton2')); ?> </li>
		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('New Item'), array('controller' => 'items', 'action' => 'add'),array('class' => 'consistentButton2')); ?> </li>
		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Suppliers'), array('controller' => 'suppliers', 'action' => 'index'),array('class' => 'consistentButton2')); ?> </li>
		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('New Supplier'), array('controller' => 'suppliers', 'action' => 'add'),array('class' => 'consistentButton2')); ?> </li>
	</ul>
</div>

<div class="admin_right purchases form">

    <div id=breadcrumbAdmin>
        <?php $this->Html->addCrumb('Purchases', '/Purchases/index'); ?>
        <?php $this->Html->addCrumb('Edit', '/Purchases/edit', array('style'=> (' text-decoration:underline; color:#EB1E70;'))); ?>
        <?php echo $this->Html->getCrumbs(' > ', array( 'text' => 'Transactions', 'url' => array('controller' => 'Sales', 'action' => 'index', 'plugin' => null), 'escape' => false)); ?>
    </div>

    <?php echo $this->Form->create('Purchase'); ?>
        <fieldset>
            <legend><?php echo __('Edit Purchase'); ?></legend>
        <?php
            echo $this->Form->input('id');
            echo $this->Form->input('item_id');
            echo $this->Form->input('supplier_id');
            echo $this->Form->input('price');
            echo $this->Form->input('date');
            echo $this->Form->input('note');
        ?>
        </fieldset>
    <?php echo $this->Form->end(__('Submit')); ?>
</div>
